package com.intellagric.service.content.module.cms_category;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.CmsCategory;

/**
 * @Auther: zhy
 * @Date: 2018/10/6
 * @Description: 内容分类服务接口
 */
public interface CategoryService {

    //增加栏目信息
    ResponseMessage addCategory(CmsCategory category);

    //删除栏目信息
    ResponseMessage deleteCategory(String id);

    //修改栏目信息
    ResponseMessage editCategory(CmsCategory category);

    //查询栏目信息
    CmsCategory getCategoryById(String id);
    LayuiDataGridResult getCategory();
    LayuiDataGridResult getCategoryByParentId(String parentId);
    LayuiDataGridResult getCategoryList();

}
